package com.chapter17;

import com.chapter17.ProductTextFile;

public class DAOFactory
  {
   // this method maps the ProductDAO interface
   // to the appropriate data storage mechanism
   public static ProductDAO getProductDAO ()
     {
	  ProductDAO pDAO = new ProductTextFile();
	  return pDAO;
     }
  }